﻿<Page x:Class="Framework_Tool.StaffSearch"
      xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
      xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
      xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
      xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
      mc:Ignorable="d" 
      d:DesignHeight="547" d:DesignWidth="1042"
	Title="StaffSearch">

    <Grid Name="mainContent" Loaded="mainContent_Loaded_1" >
        <Border BorderBrush="#FF311E51" BorderThickness="3" CornerRadius="30" Width="1042" Height="547" VerticalAlignment="Top" HorizontalAlignment="Left">
            <Grid>
                <Border Name="mask" CornerRadius="27" >
                    <Border.Background>
                        <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                            <GradientStop Color="#FF311E51" Offset="0"/>
                            <GradientStop Color="#FF594F6B" Offset="1"/>
                        </LinearGradientBrush>
                    </Border.Background>
                    <ListBox HorizontalAlignment="Left" Height="380" Margin="354,129,0,0" VerticalAlignment="Top" Width="640"/>
                </Border>
                <StackPanel HorizontalAlignment="Left" Orientation="Horizontal" Margin="30,0,0,0" VerticalAlignment="Top" Width="874">
                    <Button Margin="0,0,25,0" x:Name="viewStaff" Content="View" Foreground="White" FontSize="20" Background="{x:Null}" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" Click="viewStaff_Click"/>
                    <Button Margin="0,0,25,0" x:Name="addStaff" Content="Add" Foreground="White" FontSize="20" Background="{x:Null}" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" Click="addStaff_Click"/>
                    <Button Margin="0,0,25,0" x:Name="updateStaff" Content="Update" Foreground="White" FontSize="20" Background="{x:Null}" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" Click="updateStaff_Click" />
                    <Button Margin="0,0,25,0" x:Name="deleteStaff" Content="Delete" Foreground="White" FontSize="20" Background="{x:Null}" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" Click="deleteStaff_Click" />
                    <Button Margin="0,0,25,0" x:Name="searchStaff" Content="Search" Foreground="White" FontSize="20" Background="{x:Null}" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" />
                </StackPanel>
                <Label x:Name="searchStaffTxt" Content="Search Staff Members" Margin="70,65,0,0" Foreground="White" VerticalAlignment="Top" HorizontalAlignment="Left" FontSize="20" RenderTransformOrigin="-0.551,0.513" FontWeight="Bold" />
                <GroupBox Header="Staff Search" HorizontalAlignment="Left" Height="150" Margin="70,119,0,0" VerticalAlignment="Top" Width="240" Foreground="White" FontSize="14">
                    <StackPanel Margin="10" >
                        <RadioButton x:Name="stfID" Content="Staff ID" GroupName="stfSearch" Checked="RadioButton_Checked" IsChecked="True" Foreground="White" />
                        <RadioButton x:Name="stfFName" Content="First Name" GroupName="stfSearch" Foreground="White" />
                        <RadioButton x:Name="stfSurname" Content="Surname" GroupName="stfSearch" Foreground="White" />
                    </StackPanel>
                </GroupBox>
                <Grid Margin="90,225,0,0" VerticalAlignment="Top" HorizontalAlignment="Left">
                    <Border BorderBrush="#FF28B5D3" HorizontalAlignment="Left" Width="200" CornerRadius="15" Background="White" />
                    <TextBox x:Name="staffSearchTxt" HorizontalAlignment="Left" Height="25" TextWrapping="Wrap" VerticalAlignment="Top" Width="200" FontSize="14" BorderBrush="{x:Null}" Background="Transparent" />
                </Grid>
                <Grid Margin="70,290,195,30" VerticalAlignment="Top" HorizontalAlignment="Left">
                    <Border BorderBrush="#FF28B5D3" BorderThickness="1" Height="50"  Width="240" CornerRadius="12">
                        <Border.Background>
                            <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                                <GradientStop Color="#FF28B5D3" Offset="0.406"/>
                                <GradientStop Color="White"/>
                            </LinearGradientBrush>
                        </Border.Background>
                    </Border>
                    <Button Content="Search Staff" x:Name="stfSearch" FontSize="25" Height="50" Background="{x:Null}" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" Foreground="White" Width="240" Click="stfSearch_Click_1" />
                </Grid>
            </Grid>
        </Border>
    </Grid>
</Page>
